package com.web.base.open.model;

import com.blue.core.dict.State;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;
import com.blue.jdbc.annotation.Transient;

/**
 * 开放平台角色实体类
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年02月27日
 */
@Table(name = "open_role")
public class Role
{
	@Id
	private Integer id; // 编号
	private String name; // 名称
	private String descp; // 描述
	private State state; // 状态：0正常，1作废

	@Transient
	private Integer select; // 是否选中，0选中

	public Role()
	{
	}
	
	public Integer getId()
	{
		return this.id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}
	
	public String getName()
	{
		return this.name;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public String getDescp()
	{
		return this.descp;
	}
	
	public void setDescp(String descp)
	{
		this.descp = descp;
	}
	
	public State getState()
	{
		return this.state;
	}
	
	public void setState(State state)
	{
		this.state = state;
	}

	public Integer getSelect()
	{
		return select;
	}

	public void setSelect(Integer select)
	{
		this.select = select;
	}

}
